﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace H2.NET.Web.Workflow.Models
{
    [Serializable]
    public class Permission
    {
        public int ID { get; set; }

        public string Name { get; set; }

        public string Title { get; set; }

        public string Url { get; set; }

        public int Layer { get; set; }

        public int? Order { get; set; }

        public int? ParentID { get; set; }

        public string RelCode { get; set; }

        public string Module { get; set; }

        public string Class { get; set; }

        public string OpenMode { get; set; }

        public Permission Parent { get; set; }

        public List<Permission> Children { get; set; }
    }
}